{yun:}include file="$wapstyle/header_cont.htm"{/yun}
<script>
    var once_pay = '{yun:}$config.once_pay_price{/yun}';
</script>
{yun:}if $smarty.get.id{/yun}

<form action="index.php?c=once&a=getOrder" method="post" onsubmit="return pay_form();">
    <div class="once_pay_list mt10">
        <span class="once_pay_list_name">所需金额</span><em class="once_pay_list_money"> ￥ <span class="price">{yun:}$config.once_pay_price{/yun}</span></em>
    </div>
		{yun:}if $paytype.wxpay{/yun}
            <div class="spread_box spread_box_bor">
                <div class="spread_zf_list" onclick="paycheck('wxpay');">
                    <i class="wxpay member_set_meal_fk_xz" style="top:0"></i> 微信支付
                </div>
            </div>
            {yun:}/if{/yun} {yun:}if $paytype.alipay{/yun}
            <div class="spread_box spread_box_bor" onclick="paycheck('alipay');">
                <div class="spread_zf_list spread_zf_list_zfb">
                    <i class="alipay member_set_meal_fk_xz" style="top:0"></i> 支付宝支付
                </div>
            </div>
            {yun:}/if{/yun}
    {yun:}if $paytype.wxpay||$paytype.alipay{/yun}
    <div class="once_pay_bth mt10 ">
        <input type="submit" value="确认支付" name="submit" class=" ">
    </div>
    {yun:}else{/yun}
     <div class="pay_zfgb_tip">
        <span>网站已关闭支付功能，请联系管理员！</span>
    </div>
    {yun:}/if{/yun} {yun:}if $config.sy_freewebtel{/yun}
    <div class="once_pay_tel">
        <a href="tel:{yun:}$config.sy_freewebtel{/yun}">客服电话：{yun:}$config.sy_freewebtel{/yun}</a>
    </div>
    {yun:}/if{/yun}
    <input type="hidden" value="" id="paytype" name="paytype" />
    <input type="hidden" value="{yun:}$smarty.get.id{/yun}" name="id" />
</form>

{yun:}/if{/yun}
<script src="{yun:}$wap_style{/yun}/js/prefixfree.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/layer/layer.m.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/pay.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
{yun:}include file="$wapstyle/footer.htm"{/yun}